package webone.javabean;

import java.io.Serializable;

import javax.servlet.http.HttpSession;

public class OnlineUserInfo implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 436040355478570859L;
	private String sessionid;
	private String ip;
	private HttpSession session;
	private String recenttime;
	private String username;
	public OnlineUserInfo() {
		super();
	}
	public OnlineUserInfo(String sessionid, String ip, String recenttime, String username) {
		super();
		this.sessionid = sessionid;
		this.ip = ip;
		this.recenttime = recenttime;
		this.username = username;
	}
	public String getSessionid() {
		return sessionid;
	}
	public void setSessionid(String sessionid) {
		this.sessionid = sessionid;
	}
	public String getIp() {
		return ip;
	}
	public void setIp(String ip) {
		this.ip = ip;
	}
	public String getRecenttime() {
		return recenttime;
	}
	public void setRecenttime(String recenttime) {
		this.recenttime = recenttime;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public HttpSession getSession() {
		return session;
	}
	public void setSession(HttpSession session) {
		this.session = session;
	}
	@Override
	public String toString() {
		return "OnlineUserInfo [sessionid=" + sessionid + ", ip=" + ip + ", session=" + session + ", recenttime="
				+ recenttime + ", username=" + username + "]";
	}
	
}
